﻿CREATE PROCEDURE [dbo].[GetAllWorkflowTriggerInstnacesByWorkflowDesign]
(@WorkflowDesignID varchar(50)) as 
begin
	select * from WorkflowTriggerInstance where WorkflowDesignID=@WorkflowDesignID order by LastRunTime
end


